input-output balance